Using the Xbasic Code Editor
/documentation/pages/Guides/Xbasic/Xbasic Code Editor/Using the Xbasic Code Editor.xml
The Xbasic Code Editor is used to write Xbasic scripts in applications. It includes features, such as syntax highlighting and auto-complete, to make it easy to read and write Xbasic.
Code Explorer
/documentation/pages/Desktop/Reference/Design/View/Form/Code Explorer.xml
In Form Design mode, you can use the Code Explorer to do the following tasks:
Code Indirection
/documentation/pages/Ref/Xbasic/Code Indirection.xml

Code indirection refers to the situation when you want to execute an Xbasic command that is contained in a variable (i.e. to indirectly execute an Xbasic command).

The EVALUATE_TEMPLATE( Command_String ) function is used to execute an Xbasic command that is contained in Command_String.

Xbasic Server-side API Library
/documentation/pages/Ref/Api/index.xml
Xbasic functions, classes, and objects available for both server-side scripts and desktop applications.
Storing Scripts in a Library
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Storing Scripts in a Library.xml
By default, Alpha Anywhere stores all Global Scripts, Global Functions, Custom Menus, and Custom Toolbars in the current database's Library. The Library files have the same name as the database (i.e. the .adb file) with the .alb, .alm and . alx file extensions.
The Code Editor Control
/documentation/pages/Guides/Desktop/Xdialog/The Code Editor Control.xml
You can turn a standard text box control into a Xbasic Code Editor using the %L% formatting code. You should define column and row dimensions for the text box that are large enough to display a reasonable size code editor. Here is an example dialog with an embedded code editor.
Code Editor File Functions
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic/Code Editor File Functions.xml
You write Xbasic scripts in the Code Editor. The Code Editor is a multi-tabbed window that lets you edit multiple scripts at the same time. It always includes at least one tab called the Interactive window where you can test individual lines of Xbasic code and see immediate results. The Code Editor lets you write scripts in two ways. You can use the graphical Action Scripting method, or you can type in Xbasic commands. For more information on Action Scripting, see the Introduction to Action Scripting book.
Attaching a Library to the Current Workspace
/documentation/pages/Guides/Desktop/Design/View/Workspace/Attaching a Library to the Current Workspace.xml
To attach an external library to the current workspace:
How to Copy Code Libraries from Older Versions of Alpha Anywhere
/documentation/pages/HowTo/Other/Copy Code Library from Older Versions.xml
Code Libraries from older versions of Alpha Anywhere can be copied into the current version of Alpha Anywhere. This is done by copying the Code Libraries from the older version of Alpha Anywhere to the directory where Code Libraries are stored in the current version of Alpha Anywhere.
The Code Editor
/documentation/pages/Guides/Xbasic/Xbasic Code Editor/The Code Editor.xml
You write Xbasic scripts in the Code Editor. The Code Editor is a multi-tabbed window that allows you to edit multiple scripts at the same time. The Code Editor always includes at least one tab called the Interactive window where you can test individual lines of Xbasic code and see immediate results. For more information on using the Interactive window, see Testing Xbasic Statements in the Interactive Window.